﻿namespace Demo.UserService.Registrys
{
    /// <summary>
    /// 获取配置中的值
    /// </summary>
    public class ServiceRegistryOptions
    {
        public ServiceRegistryOptions()
        {
            this.ServiceID = Guid.NewGuid().ToString();
        }

        /// <summary>
        /// 
        /// </summary>
        public string ServiceID { set; get; }
        public string ConsulAddress { set; get; }
        public string ServiceAddress { set; get; }
        public string ServiceName { set; get; }
        public string HealthCheckAddress { set; get; }
    }
}
